package com.wing.res.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.res.model.entity.ResProductDraw;
import com.wing.res.model.entity.ResProductDrawPic;
import com.wing.res.model.response.ResProductDrawPicVo;
import com.wing.res.model.response.ResProductDrawVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


@Mapper
public interface ResProductDrawPicDao extends BaseMapper<ResProductDrawPic> {

    /**
     * 获取图纸列表
     * @param pg
     * @param map
     * @return
     */
    Page<ResProductDrawPicVo> getListByMap(@Param("pg") Page<ResProductDrawPicVo> pg, @Param("map") Map<String, Object> map);

}
